using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class StartScript : MonoBehaviour
{
    // Start is called before the first frame update
    void Start()
    {
        
    }

    // Update is called once per frame
    void Update()
    {
        
    }

    public void OnStartButtonClick(string levelName)
    {
        Debug.Log("Start");
        GameManager.instance.LoadLevel(levelName);
    }
    public void OnExitButtonClick()
    {
        Debug.Log("quit");
        //UnityEditor.EditorApplication.isPlaying = false;

        Application.Quit();
    }
}
